package com.castle.fortress.admin.member.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
 * 会员设置表 实体类
 *
 * @author Mgg
 * @since 2021-11-26
 */
@Data
@ApiModel(value = "memberSeting对象", description = "会员设置表")
public class MemberSetingDto implements Serializable {
	private static final long serialVersionUID = 1L;
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(value = "唯一主键")
	@JsonProperty("id")
	private Long id;
	@ApiModelProperty(value = "升级方式（订单完成后、付款后）")
	@JsonProperty("upMode")
	private Integer upMode;
	@ApiModelProperty(value = "是否开启账户充值")
	@JsonProperty("rechargeStatus")
	private String rechargeStatus;
	@ApiModelProperty(value = "是否开启余额提现")
	@JsonProperty("withdrawalStatus")
	private String withdrawalStatus;
	@ApiModelProperty(value = "余额提现方式")
	@JsonProperty("withdrawalMethod")
	private String withdrawalMethod;
	@ApiModelProperty(value = "最小提现金额（余额满多少才能提现,空或0不限制）")
	@JsonProperty("withdrawalMin")
	private String withdrawalMin;
	@ApiModelProperty(value = "余额提现手续费(%)")
	@JsonProperty("withdrawalServiceCharge")
	private String withdrawalServiceCharge;
	@ApiModelProperty(value = "免手续费金额 开始金额")
	@JsonProperty("withdrawalFreeStart")
	private String withdrawalFreeStart;
	@ApiModelProperty(value = "免手续费金额 结束金额")
	@JsonProperty("withdrawalFreeEnd")
	private String withdrawalFreeEnd;

}
